const Course = require('../model/courses.model')
const Category = require('../model/category.model')
;(async () => {
  console.log(111)
  const res = await Course.findAll({
    include: [
      {
        model: Category,
        as: 'courseInfo'
      }
    ]
  })
})()
